﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interfleet.SE.UICompiler.Core;

namespace Interfleet.SE.UICompiler.Tests.Stubs
{
    public class FileProviderStub : IFileProvider
    {
        #region IFileProvider Members

        string IFileProvider.ReadFileToEnd(string filePath)
        {
            return "js content";
        }

        void IFileProvider.SaveToFile(string filePath, string fileContent)
        {
      
        }

        long IFileProvider.GetFileSize(string filePath)
        {
            return 2L;
        }

        DateTime IFileProvider.GetLastWriteTime(string filePath)
        {
            return new DateTime(2007, 01, 27);
        }

        bool IFileProvider.FileExists(string filePath)
        {
            return true;
        }

        #endregion
    }
}
